package com.study.spring.boot.mapper;

import com.study.spring.boot.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author: chenhs
 * @date: Created in 6:30 2019/12/20
 **/
@Mapper
public interface UserMapper {

    @Select("select * from user where id = #{id}")
    User get(@Param("id") Integer id);


}
